package com.pengshun.modules.api.user.repository;

import com.pengshun.modules.domain.DrivingLicense;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

public interface DrivingLicenseRepository extends JpaRepository<DrivingLicense, Long>, JpaSpecificationExecutor<DrivingLicense> {

    DrivingLicense findByUserId(Long id);

}
